package cn.sofwin.sb;

import cn.sofwin.sb.controller.UserController;
import cn.sofwin.sb.di.Computer;
import cn.sofwin.sb.entity.Order;
import cn.sofwin.sb.entity.User;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;



public class XmlDemo {

    public static void main(String[] args) {
        ApplicationContext act=new ClassPathXmlApplicationContext("app.xml");
        User user=act.getBean(User.class);
        System.out.println(user);

    }
}
